package org.windey;

/**
 * 
 * om te debuggen
 *
 */
public class Debug
{
	private static boolean debug;
	
	public static void setDebug(boolean debug)
	{
		Debug.debug = debug;
	}
	
	/**
	 * 
	 * @return
	 */
	public static boolean getDebug()
	{
		return Debug.debug;
	}
	
	/**
	 * 
	 * @param text 
	 */
	public static void debug(String text)
	{
		if (Debug.debug)
		{
			System.out.println(text);
		}
	}
}
